package com.platform.mapper;

import com.platform.entity.UserOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface UserOrderMapper extends BaseMapper<UserOrder> {

	List<UserOrder> seeAllUnPay(@RequestParam("state") String state);

	int updatePay(@RequestParam("id") Long id, @RequestParam("state") String state);

}
